<include file="Public:header" />
<script language=javascript src="__PUBLIC__/Js/wpCalendar.js"></script>
  <link rel="stylesheet" href="__PUBLIC__/layui/build/css/layui.css">
    <script src="__PUBLIC__/layui/build/layui.js" charset="utf-8"></script>
<style type="text/css">
    .us_btn{height:27px; line-height:27px; font-size:12px; font-weight:bold; padding:0 10px; text-decoration:underline;}
    .STYLE1 {color: #FF0000}
    .zong{width:100%;height:40px;line-height: 40px;border-bottom: 1px solid #ddd}
    .tittle{width:100px;float:left;padding-left:10px;}
    .info{float:left}
    .info>input{background: none}
    .ncenter_box{padding:0px}
    select{height:40px;}
    td{padding:0px}
    .chaxun{height:40px; text-align: center}
    .chaxun input{padding:3px 15px;background:#f0ad4e;margin-top:8px;color:#fff;border-radius:3px }
     @media( max-width: 624px){
        .laydate_box{ left: 50% !important; margin-left: -120px !important; }
    }
</style>
  <!--时间选择-->
    <script>
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            var start = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };
            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

        });
    </script>
    <!--时间选择END-->
<div class="ncenter_box">
    <div class="accounttitle"><h1>货币流向统计</h1></div>
    <table width="100%" border="0" cellpadding="0" cellspacing="3">
        <tr>
            <td>
                <form id="form1" name="form1" method="post" action="__URL__/adminmoneyflows">
                    <div style="background-color:#f2dede;border-left:2px solid #d73d32 ;">
                    <div class="zong">
                        <div class="tittle"> 开始日期：</div>
                        <div class="info">
                            <input name="S_Date" type="text" id="S_Date" readonly value="{$S_Date}" onclick="layui.laydate({elem: this, festival: true})" />
                            <!-- <input name="S_Date" type="text" id="S_Date" readonly value="{$S_Date}"  onFocus="showCalendar(this)"/> -->
                        </div>
                    </div>
                    <div class="zong">
                        <div class="tittle">  结算日期：</div>
                        <div class="info">
                            <input name="E_Date" type="text" id="E_Date" readonly value="{$E_Date}" onclick="layui.laydate({elem: this, festival: true})" />
                            <!-- <input name="E_Date" type="text" id="E_Date" readonly value="{$E_Date}"  onFocus="showCalendar(this)"/> -->
                        </div>
                    </div>
                   <div class="zong">
                        <div class="tittle">搜索帐号：</div>
                        <div class="info">
                            <input name="UserID" type="text" id="UserID" value="{$UserID}"/>
                        </div>
                    </div>
                    <select name="actionType">
                        <option value="" <eq name='memo' value=""> selected</eq> >所有奖项</option>
                        <foreach name="s18" item="vo">
                        <option value="{$key+1}" <if condition="$memo eq ($key+1)">selected</if> >{$vo}</option>
                        </foreach>
                        <option value="10" <eq name='memo' value="10">selected</eq> >充值</option>
                        <option value="11" <eq name='memo' value="11">selected</eq> >提现</option>
                        <!--<option value="12" <eq name='memo' value="12">selected</eq> >转账</option>-->
                        <!--<option value="13"<eq name='memo' value="13"> selected</eq> >开通会员</option>-->
                    </select>
                    <!--<select name="moneyType">
                        <option value="">所有类型</option>
                        <option value="agent_cf"<eq name='moneyType' value="agent_cf"> selected</eq>>商城金币</option>
                        <option value="agent_use"<eq name='moneyType' value="agent_use"> selected</eq>>电子币</option>
                    </select>-->
                    </div>
                    <div class="chaxun">
                        <input type="submit"  value="查询"  style="padding: 5px 12px; background: #b13a33;color: #fff;border-radius: 5px;">
                        <!-- <input type="submit" name="submit" value="查询" class="button_text" /> -->
                    </form></div>
            </td>
        </tr>
    </table>
</div>
<table width="100%" cellpadding=3 cellspacing="1" id="tb1" bgcolor="#b9c8d0" class="tab3">
    <tr align="center" class="content_td">
        <th nowrap >交易帐号</th>
        <th nowrap >备注</th>
        <th nowrap ><span>金额</span></th>
        <!--<th nowrap ><span>类型</span></th>-->
        <th nowrap ><span>时间</span></th>
    </tr>
    <volist name="list" id="vo">
        <tr align="center" class="content_td">
            <td >{$vo['user_id']}</td>
            <td >{$vo['bz']}</td>
            <td ><span class="STYLE1">{$vo['epoints']}</span></td>
            <!--<td >
                <eq name="vo['moneytype']" value="agent_cf"><p style="color: blue">商城金币</p></eq>
                <eq name="vo['moneytype']" value="agent_use"><p style="color: #ff3914">电子币</p></eq>
                
            </td>-->
            <td >{$vo.pdt|date='Y-m-d H:i:s',###}</td>
        </tr>
    </volist>
</table>
<table width="600" align="center">
    <tr class="content_td">
        <td colspan="5" ><div align="center">{$page}</div></td>
    </tr>
</table>
</div>
<div style="margin:80px"></div>
<script>new TableSorter("tb1");</script>

<include file="Public:footer" />